<?php $this->headLink()->appendStylesheet('css/admin/grid.css'); ?>
<script>
	function submitFrm( action ){
		$('#actionP').val( action );
		$('#selectFrm').submit();
	}
</script>
<form name="selectFrm" id="selectFrm" action="<?php echo $this->url(array('module' => 'users', 'controller' => 'admin', 'action' => 'rights'), null, true); ?>" method="post">
	<input type="hidden" name="actionP" id="actionP" value="">
	<div style="float:right;">
		<a href="javascript:void(0)" onclick="submitFrm('save')">save</a>
	</div>
	<div>
		<?php  echo $this->formSelectRole->roleId; ?>
	</div>
	<div class="grid">
	<?php  echo $this->dataGrid; ?>
	</div>
	<div style="float:right;">
		<a href="javascript:void(0)" onclick="submitFrm('save')">save</a>
	</div>
</form>